﻿using Microsoft.IdentityModel.Tokens;
using System;

namespace KBWebApi.Model
{
    public class TokenProvidorOptions
    {
        /// <summary>
        /// 发行人
        /// </summary>
        public string Issuer { get; set; }

        /// <summary>
        /// 订阅者
        /// </summary>
        public string Audienc { get; set; }

        /// <summary>
        /// 签名证书
        /// </summary>
        public SigningCredentials signingCredentials  { get; set; }

        /// <summary>
        /// 过期时间间隔
        /// </summary>
        public TimeSpan Expiration { get; set; }
    }
}
